Vue.component('index-left-card', {
    data: function () {
        return {}
    },
    methods: {
        //跳转预约管理
        toRegisterManagent(){location.href="/beforeIndex/registeredManage.html";},
        //缴费订单
        toPayOrders(){location.href="/beforeIndex/payOrders.html";}
    },
    mounted() {
    },
    created: function () {

    },
    template: `
                            <!--左边卡片-->
                            <el-row>
                                <el-col @click.native="location.href='/'" class="left-card" span="22">
                                    <el-card shadow="hover" class="l_card">
                                        <h3>预约挂号</h3>
                                        <p>当日挂号/挂号订单</p>
                                    </el-card>
                                </el-col>
                                <el-col @click.native="toRegisterManagent()" class="left-card" span="22">
                                    <el-card shadow="hover" class="l_card">
                                        <h3>预约管理</h3>
                                        <p>取消预约/历史数据</p>
                                    </el-card>
                                </el-col>
                                <el-col @click.native="location.href='/beforeIndex/notice.html'" class="left-card" span="22">
                                    <el-card shadow="hover" class="l_card">
                                        <h3>公告信息</h3>
                                        <p>详情/须知</p>
                                    </el-card>
                                </el-col>
                                <el-col @click.native="location.href='/beforeIndex/selectDrug.html'" class="left-card" span="22">
                                    <el-card shadow="hover" class="l_card">
                                        <h3>药价查询</h3>
                                        <p>查药物/查药价</p>
                                    </el-card>
                                </el-col>
                                <el-col @click.native="toPayOrders()" class="left-card" span="22">
                                    <el-card shadow="hover" class="l_card">
                                        <h3>门诊缴费订单</h3>
                                        <p>查询核对/电子凭条</p>
                                    </el-card>
                                </el-col>
                            </el-row>
    `
})